//
//  OnlineTopHeadView.h
//  GC_OC
//
//  Created by lbh on 2022/4/6.
//

#import <UIKit/UIKit.h>
#import "UIButton+SYImagePosition.h"
#import "YBPopupMenu.h"
#import "SearchVC.h"
NS_ASSUME_NONNULL_BEGIN
typedef void(^OnlineTopHeadViewPopMenuBlock)(NSString *ID);//轮播图点击Block

@interface OnlineTopHeadView : UIView<YBPopupMenuDelegate>

@property (nonatomic,strong)UIView *bgView;
@property (nonatomic,strong)UIButton *leftButton;
@property (nonatomic,strong)UILabel *leftLabel;
@property (nonatomic,strong)UIImageView *leftImageView;
@property (nonatomic,strong)UIView *searchBgView;
@property (nonatomic,strong)UILabel *searchLabel;
@property (nonatomic,strong)NSArray *searchArray; // 左边按钮弹窗的数据源
@property (nonatomic,strong)UIView *lineView;
@property (nonatomic,copy)NSString *searchID;
@property (nonatomic,copy)OnlineTopHeadViewPopMenuBlock popMenuDidBlock;

@end

NS_ASSUME_NONNULL_END
